package design_mode.decorator;

public class FlyingCar extends Transformer{
    public FlyingCar(ITransportation transportation) {
        super(transportation);
        System.out.println("我是陆空两用汽车");
    }

    public void flying(){
        System.out.println("我可以在天上飞");
    }
}
